<template>
  <div class="box" />
  我是demo1
  <el-button @click="handleClick">发射</el-button>
</template>

<script setup lang="ts">
import { ref, reactive, onBeforeMount, onUnmounted } from 'vue'
import mittBus from '@/utils/mitt'
const demo = ref('')
const handleClick = () => {
    mittBus.emit('fashe', 'vue3发射')
}
</script>

<style lang="less" scoped>
.box {
}
</style>
